package com.ruoyi.provider.service;

import com.github.pagehelper.PageInfo;
import com.ruoyi.provider.domain.AhctSurvey;
import com.ruoyi.provider.domain.AhctSurveyCode;
import com.ruoyi.provider.domain.ReviewResponse;

/**
 * @author SunNan
 * @version 1.0
 * @date 2024/5/15 14:26
 * @description
 */
public interface AhctSurveyService {

    /**
     * 选择调查列表
     *
     * @param ahctSurvey  AHCT案例
     * @param pageNum 起始页
     * @param pageSize  页面大小
     * @return {@code PageInfo<AhctCase> }
     * @author SunNan
     * @date 2024/05/15
     */
    PageInfo<AhctSurvey> selectSurveyList(AhctSurvey ahctSurvey, int pageNum, int pageSize);

    /**
     * 插入调查
     *
     * @param ahctSurveyCode AHCT案例
     * @return int
     * @author SunNan
     * @date 2024/05/15
     */
    void insertSurvey(AhctSurveyCode ahctSurveyCode);

    void updateSurvey(AhctSurveyCode ahctSurveyCode);

    void deleteSurvey(AhctSurveyCode ahctSurveyCode);

    void updateSurveyType(Integer case_type,String case_number);

    ReviewResponse updateReviewApproval(AhctSurvey ahctSurvey);

    String selectCaseNumber(String case_number);
}
